package com.atguigu.mapper;

import com.atguigu.entity.BaseCategoryView;
import com.atguigu.entity.ProductSalePropertyKey;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * VIEW Mapper 接口
 * </p>
 *
 * @author zhangqiang
 * @since 2022-07-25
 */
public interface BaseCategoryViewMapper extends BaseMapper<BaseCategoryView> {

    List<ProductSalePropertyKey> getSpuSalePropertyAndSelected(@Param("productId") Long productId,@Param("skuId") Long skuId);
}
